<%--
  Created by IntelliJ IDEA.
  User: csnf
  Date: 2024/12/30
  Time: 17:22
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>添加任务</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            margin: 20px;
            background-color: #f8f9fa;
        }
        .form-group {
            margin-bottom: 15px;
        }
        .form-control {
            width: 100%;
            max-width: 400px;
        }
        .btn {
            margin-top: 10px;
        }
        .card {
            border-radius: 10px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            padding: 20px;
            background-color: #fff;
        }
        .card-header {
            background-color: #007bff;
            color: #fff;
            border-radius: 10px 10px 0 0;
        }
        .card-body {
            padding: 20px;
        }
    </style>
</head>
<body>
<form action="addTask" method="post" class="container">
    <div class="card">
        <div class="card-header">
            添加任务
        </div>
        <div class="card-body">
            <div class="form-group">
                <label for="taskName">任务名称：</label>
                <input type="text" class="form-control" id="taskName" name="taskName" placeholder="任务名称">
            </div>
            <div class="form-group">
                <label for="taskGroup">任务分组：</label>
                <input type="text" class="form-control" id="taskGroup" name="taskGroup" placeholder="任务分组">
            </div>
            <div class="form-group">
                <label for="taskContent">任务内容：</label>
                <input type="text" class="form-control" id="taskContent" name="taskContent" placeholder="任务内容">
            </div>
            <div class="form-group">
                <label for="taskExpression">任务表达式：</label>
                <input type="text" class="form-control" id="taskExpression" name="taskExpression" placeholder="任务表达式">
            </div>
            <div class="form-group">
                <label for="taskState">任务状态：</label>
                <input type="text" class="form-control" id="taskState" name="taskState" placeholder="任务状态">
            </div>
            <div class="form-group">
                <label for="taskDate">任务日期：</label>
                <input type="date" class="form-control" id="taskDate" name="taskDate">
            </div>
            <div class="form-group">
                <label for="taskTime">任务时间：</label>
                <input type="time" class="form-control" id="taskTime" name="taskTime">
            </div>
            <div class="form-group">
                <label for="taskStrategy">任务策略：</label>
                <input type="text" class="form-control" id="taskStrategy" name="taskStrategy" placeholder="任务策略">
            </div>
            <div class="form-group">
                <label for="taskCurrent">任务当前：</label>
                <input type="text" class="form-control" id="taskCurrent" name="taskCurrent" placeholder="任务当前">
            </div>
            <div class="form-group">
                <label for="taskDesc">任务描述：</label>
                <input type="text" class="form-control" id="taskDesc" name="taskDesc" placeholder="任务描述">
            </div>
            <button type="submit" class="btn btn-primary">添加</button>
        </div>
    </div>
</form>
</body>
</html>
